package flint04
{
	import org.flintparticles.common.actions.Age;
	import org.flintparticles.common.energyEasing.Quadratic;
	import org.flintparticles.common.initializers.Lifetime;
	import org.flintparticles.twoD.actions.TweenToZone;
	import org.flintparticles.twoD.emitters.Emitter2D;
	import org.flintparticles.twoD.zones.BitmapDataZone;
	
	import flash.display.Bitmap;
	
	public class EmitterTwo extends Emitter2D{
		
		public function EmitterTwo(bitmap:Bitmap){
			
			addInitializer( new Lifetime( 6 ) );
			
			addAction( new Age( Quadratic.easeInOut ) );
			addAction( new TweenToZone( new BitmapDataZone( bitmap.bitmapData, 0,0 ) ) );
		}
	}
}